import { createApp } from 'vue'
import 'normalize.css'
import '@/assets/css/index.scss'
import App from './App.vue'
import router from './router'
import icons from './global/register-icons'
import store from './store'

// 局部引入反馈组件无样式解决方法一
// import 'element-plus/dist/index.css'
// 局部引入反馈组件样式二
// import 'element-plus/theme-chalk/el-message.css'
// 插件vite-pluge-style-import

const app = createApp(App)

// 使用到本地加载路由（重复刷新页面），因此router和store之间要有顺序要求，router加载必须在store之后
app.use(icons)
app.use(store)
app.use(router)
app.mount('#app')
